/*
 * AlphaImage.java
 *
 * Created on March 4, 2009, 6:01 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package libregnummap;

import java.awt.Image;

/**
 *
 * @author alvaro
 */
public class AlphaImage extends PrintableObject {
    
    private int x, y;
    private Image image;
    private float alpha;

    public float getAlpha() {
        return alpha;
    }

    public Image getImage() {
        return image;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

    public void setAlpha(float alpha) {
        this.alpha = alpha;
    }

    public void setImage(Image image) {
        this.image = image;
    }

    public void setX(int x) {
        this.x = x;
    }

    public void setY(int y) {
        this.y = y;
    }
    
    /** Creates a new instance of AlphaImage */
    AlphaImage(int x, int y, Image img, float alpha, String type) {
        this.x = x;
        this.y = y;
        this.image = img;
        this.alpha = alpha;
        
        setType(type);
    }
    
}
